// pages/doctorhomepage/doctorhomepage.js
Page({
  data: {
    doctorname:''
  },
  onShareAppMessage: function () {
  },
  medicalinput: function () {
    wx.navigateTo({
      url: 'diseaseinput/diseaseinput',
    })
  },
  medicalinfo:function(){
    wx.navigateTo({
      url: 'diseaseinfo/diseaseinfo',
    })
  },
  chargedoctor:function(){
    var doctorname = wx.getStorageSync('doctorname');
    console.log("chargedoctor中doctorname的值" + doctorname); 
    wx.navigateTo({
      url: 'majordoctor/majordoctor?doctorname=' +doctorname,
    })
  },
  doctorinfo:function(){
    var doctorname = wx.getStorageSync('doctorname');
    console.log("doctorinfo中name的值" + doctorname); 
    wx.navigateTo({
      url: 'doctorinfo/doctorinfo?doctorname=' +doctorname,
    })
  }
})
